<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加菜单信息</title>
<load href="__PUBLIC__/css/bootstrap.min.css" />
<import type='css' file="css.main" />
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<import type='js' file="js.main" />
<style>
.getcxaddres{margin-left: 10px; padding: 6px 12px; cursor: pointer; padding-top: 5px; border: solid 1px #cccccc; background-color: #e7e7e7; color: #000000; border-radius: 2px; overflow: hidden;}
.jiuma .jiumalist li h4{margin-top:8px;}
</style>
</head>

<body>
<script type="text/javascript">
$(function(){

})
</script>
<div class="main-frame">
	<div class="position">华人码 > 添加后台列表</div>
	<div class="addobject">
		<div class="obj-form">
			<form name="form1" id="form1" action='<if condition="$edit eq 1">{:U('Manages/medit')}<else/>{:U('Manages/madd')}</if>' method="post" class="form-inline">
				<input type="hidden" name="editid" value="{$m['id']}" />
				<ul>
					<li>
						<label class="fl tle">分类选择：</label>
				    	<span class="fl cnt">
					    	<select name="mid" class="template form-control" style="width: 180px;">
								<option value='0'>/</option>
								<volist name="mlist" id="list">
									<option <if condition="$list['id'] eq $m['mid']">selected</if> value='{$list['id']}'>{$list['manage_name']}</option>
									<volist name="list['submenu']" id="list1">
										<option <if condition="$list1['id'] eq $m['mid']">selected</if> value='{$list1['id']}'>——{$list1['manage_name']}</option>
									</volist>
								</volist>
							</select>
				    	</span>
					</li>
					<li>
						<label class="fl tle">分类名称：</label>
						<span class="fl cnt"><input name="manage_name" class="form-control" placeholder="分类名称" value="{$m['manage_name']}"><em>*</em></span>
					</li>
					<li>
						<label class="fl tle">跳转路径：</label>
						<span class="fl cnt"><input name="murl" class="form-control" placeholder="如：Manages/index" value="{$m['murl']}"></span>
					</li>
					<li>
						<label class="fl tle">排序：</label>
						<span class="fl cnt"><input name="msort" class="txtlength200" style="width: 100px;" placeholder="0" value="{$m['msort']}"></span>
					</li>
					<li class="submit">
						<label class="fl tle">&nbsp;</label>
						<span class="fl cnt"><input type="submit" value="确 定" class="submitbtn" /></span>
					</li>
				</ul>
			</form>
		</div>
		<div class="obj-previewimg">
			<div class="instructions">
				<b>特别说明：</b><br>
				菜单为无限级结构，根据需要在创建菜单的时候选择相应的父级菜单，如本身为一级菜单则按默认值保存。<br>
				<p class="advice">建议：菜单标题不易过长，以精、准为佳。</p>
			</div>
		</div>
	</div>

</div>
</body>
</html>
